<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>{kfc:seotitle} - {kfc:sitename} - Powered by KnifeCMS</title>
<meta name="keywords" content="{kfc:metakeywords}" />
<meta name="description" content="{kfc:metadescription}" />
<meta name="generator" content="KnifeCMS {kfc:version}" />
<meta name="author" content="KnifeCMS Team" />
<meta name="runtime" content="{kfc:runtime}" />
<meta name="queries" content="{kfc:sqlquerynum}" />
<!--#include file="inc/shop.css.htm"-->
<!--#include file="inc/shop.javascript.htm"-->
<script language="javascript" src="{kfc:systempath}data/javascript/region.json.js"></script>
</head>
<body>
<DIV id="abody">
<DIV id="bbody">
  <!--头部-->
  <!--#include file="inc/header.htm"-->
  <!--头部:end-->
  <div class="clear"></div>
  <!--头部:end-->
  <Div id="mbody"><Div id="mbodya"><Div id="mbodyb">
  <DIV class="mbodyin">
          <div class="tagline mt5">{kfc:tagline}</div>
          <div class="cart">
          <form method="post" action='index.asp?mycart/ordercreate{kfc:filesuffix}' id="ordercreate" extra="suborder">
              <input type="hidden" name="cartweight" id="input_cartweight" value="" />
              <input type="hidden" name="cartamount" id="input_cartamount" value="" />
              <input type="hidden" name="cartsysid" id="cartsysid" value="{cart:ordersysid}" />
              
              <div class="cart_nav mt20">
                  <ul><li><a href="?mycart{kfc:filesuffix}" class="pointer" target="_self"><span>1.</span>我的购物车</a></li><li class="current"><a href="javascript:;"><span>2.</span>填写核对订单信息</a></li><li><a href="javascript:;"><span>3.</span>成功提交订单</a></li></ul>
              </div>
              
              <!--收货人信息-->
              <div class="cart_goods mt10" id="order_address">
                  <div class="mb5 color000"><span class="bold ">填写收货人信息</span><a onclick="KnifeCMS.ExpandShrink(this,'myaddress','[-收起]','[+展开]')" class="pl5" id="es_address" href="javascript:;">[-收起]</a></div>
                  <div class="inbox" id="myaddress">
                      <table border="0" cellpadding="0" cellspacing="0" width="100%" class="infoTable">
                        <tbody>
                        <tr><td class="titletd"><span class="red">*</span>收货地区:</td>
                            <td class="infotd">
                            <span id="address_region"></span>
							<script type="text/javascript">
                            CreateAddressAsSelect(KnifeCMS.$id("address_region"),",","{myaddrs:region}","ship_area",false,"KnifeCMS.C.Cart.SetDelivery();");
                            </script>
                            <label class="Normal" id="d_ship_area"></label>
                            </td>
                        </tr>
                        <tr><td class="titletd"><span class="red">*</span>详细地址:</td>
                            <td class="infotd">
                            <input type="text" class="text" name="ship_address" id="ship_address" value="{myaddrs:address}" style="width:360px;" />
                            <label class="Normal" id="d_ship_address"></label>
                            </td>
                        </tr>
                        <tr><td class="titletd"><span class="red">*</span>邮编:</td>
                            <td class="infotd">
                            <input type="text" class="text" name="ship_zip" id="ship_zip" value="{myaddrs:zip}" onblur="KnifeCMS.onblur(this,Array('replace','/[^0-9-]*/g'))" maxlength="10" style="width:60px;" />
                            <label class="Normal" id="d_ship_zip"></label>
                            </td>
                        </tr>
                        <tr><td class="titletd"><span class="red">*</span>收货人姓名:</td>
                            <td class="infotd">
                            <input type="text" class="text" name="ship_name" id="ship_name" value="{myaddrs:name}" style="width:160px;" />
                            <label class="Normal" id="d_ship_name">请填写真实姓名，以免延误收货</label>
                            </td>
                        </tr>
                        <tr><td class="titletd"><span class="red">*</span>联系手机:</td>
                            <td class="infotd">
                            <input type="text" class="text" name="ship_tel" id="ship_tel" value="{myaddrs:telephone}" onblur="KnifeCMS.onblur(this,Array('replace','/[^0-9-]*/g'))" maxlength="20" style="width:160px;" />
                            <label class="Normal" id="d_ship_tel">联系手机 和 联系电话 填写一项即可</label>
                            </td>
                        </tr>
                        <tr><td class="titletd"><span class="red">*</span>联系电话:</td>
                            <td class="infotd">
                            <input type="text" class="text" name="ship_mobile" id="ship_mobile" value="{myaddrs:mobile}" onblur="KnifeCMS.onblur(this,Array('replace','/[^0-9-]*/g'))" maxlength="20" style="width:160px;" />
                            <label class="Normal" id="d_ship_mobile"></label>
                            </td>
                        </tr>
                        <tr><td class="titletd">收货人Email:</td>
                            <td class="infotd">
                            <input type="text" class="text" name="ship_email" id="ship_email" value="" style="width:160px;" />
                            <label class="Normal" id="d_ship_email"></label>
                            </td>
                        </tr>
                        <tr><td class="titletd">是否保存地址:</td>
                            <td class="infotd"><input type="checkbox" checked="checked" name="saveaddress" value="1" /><span class="ml5">保存本次收货地址</span></td>
                        </tr>
                        </tbody>
                      </table>
                  </div>
                  <div class="donext_line"><input type="button" class="btn btn_comfirm" id="btn_setorderaddress" onclick="SetOrderAddress()" value="" /></div>
              </div>
              <!--收货人信息:end-->
              
              <!--选择配送方式-->
              <div class="cart_goods mt10" id="order_delivery" style="display:none;">
                  <div class="mb5 color000"><span class="bold ">选择送货方式及送货日期</span><a onclick="KnifeCMS.ExpandShrink(this,'delivery_and_date','[-收起]','[+展开]')" class="pl5" id="es_delivery" href="javascript:;">[-收起]</a></div>
                  <div id="delivery_and_date">
                      <div class="inbox">
                          <div id="deliverycue"><!--显示"正在加载..."--></div>
                          <div id="deliverylist"><!--显示送货方式区--></div>
                          <div class="pt5 pl2"><label class="Normal" id="d_delivery"></label></div>
                      </div>
                      <div class="inbox">
                          <table border="0" cellpadding="0" cellspacing="0" width="100%" class="infoTable">
                            <tbody>
                            <tr><td class="titletd">送货日期:</td>
                                <td class="infotd">
                                <select name="delivery[day]" onchange="KnifeCMS.C.Cart.DeliveryDay(this)">
                                <option value="任意日期">任意日期</option>
                                <option value="仅工作日">仅工作日</option>
                                <option value="仅休息日">仅休息日</option>
                                <option value="specal">指定日期</option>
                                </select>
                                <input type="text" class="text ml5" id="delivery[specal_day]" name="delivery[specal_day]" readonly="readonly" value="" style="width:200px; display:none;" />
                                <link rel="stylesheet" type="text/css" href="{kfc:systempath}plugins/calendar/jscal2.css"/>
                                <link rel="stylesheet" type="text/css" href="{kfc:systempath}plugins/calendar/blue.css"/>
								<script type="text/javascript" src="{kfc:systempath}plugins/calendar/calendar.js"></script>
								<script type="text/javascript" src="{kfc:systempath}plugins/calendar/lang/zh-cn.js"></script>
								<script type="text/javascript">
								Calendar.setup({weekNumbers:true,inputField:"delivery[specal_day]",trigger:"delivery[specal_day]",dateFormat:"%Y-%m-%d",showTime:true,minuteStep:1,onSelect:function(){this.hide();}});
                                </script>
                                </td>
                            </tr>
                            <tr><td class="titletd">送货时间段:</td>
                                <td class="infotd"><select name="delivery[time]"><option value="任意时间段">任意时间段</option><option value="上午">上午</option><option value="下午">下午</option><option value="晚上">晚上</option></select></td>
                            </tr>
                            </tbody>
                          </table>
                      </div>
                  </div>
                  
                  <div class="donext_line"><input type="button" class="btn btn_comfirm" id="btn_setorderdelivery" onclick="SetOrderDelivery()" value="" /></div>
              </div>
              <!--选择配送方式:end-->
              
              <!--确认商品清单及费用-->
              <div class="cart_goods mt10" id="order_goods" style="display:none;">
                  <div class="mb5 color000"><span class="bold ">确认商品清单及费用</span><a onclick="KnifeCMS.ExpandShrink(this,'cartgoods_and_amount','[-收起]','[+展开]')" class="pl5" href="javascript:;">[-收起]</a></div>
                  <div id="cartgoods_and_amount">
                      <div class="inbox" id="mycartgoods">
                      <div id="mycart"><!--显示"正在加载..."--></div>
                      <table border="0" cellpadding="0" cellspacing="0" width="100%" class="listTable">
                          <tr class="top">
                              <th><div style="width:30px;">排序</div></th>
                              <th><div style="width:60px;">图片</div></th>
                              <th><div style="width:460px;">名称</div></th>
                              <th><div style="width:88px;">价格</div></th>
                              <th><div style="width:40px;">数量</div></th>
                              <th><div style="width:88px;">金额小计</div></th>
                          </tr>
                          <tbody id="cartgoods"><!--显示商品区--></tbody>
                      </table>
                      </div>
                      <div class="inbox mt5">
                          <table border="0" cellpadding="0" cellspacing="0" width="100%" class="infoTable">
                            <tbody>
                            <tr><td class="titletd">是否需要发票:</td>
                                <td class="infotd">
                                <input type="checkbox" name="payment[is_tax]" id="payment[is_tax]" taxrate="{kfc:taxrate}" onclick="KnifeCMS.C.Cart.SetShipping(this,0)" value="1" /><span class="ml5">需要发票</span>
                                <strong class="redh">税金:{kfc:taxrate}%</strong>
                                </td>
                            </tr>
                            <tr><td class="titletd">发票抬头:</td>
                                <td class="infotd"><input type="text" class="text" name="tax_company" id="tax_company" value="" style="width:260px;" /></td>
                            </tr>
                            </tbody>
                          </table>
                      </div>
                      <div class="inbox mt5">
                          <table border="0" cellpadding="0" cellspacing="0" width="100%" class="infoTable">
                            <tbody>
                            <tr><td class="titletd">订单附言:</td>
                                <td class="infotd"><textarea class="text" name="mark_text" value="" style="width:360px; height:60px;"></textarea></td>
                            </tr>
                            </tbody>
                          </table>
                      </div>
                  </div>
              </div>
              <!--确认商品是否正确:end-->
              
              <!--结算信息-->
              <div class="cart_goods mt10" id="order_amount" style="display:none;">
                  <div class="inbox">
                  <table border="0" cellpadding="0" cellspacing="0" width="100%" class="infoTable">
                        <tbody>
                        <tr><td class="titletd"><div class="font14 pt2 pb2" style="width:700px;">商品总价格:</div></td>
                            <td class="infotd2"><span class="font14 redh"><em class="moneySb">{kfc:moneysb}</em><span id="total_cartamount">0.00</span></span></td>
                        </tr>
                        <tr><td class="titletd"><div class="font14 pt2 pb2" style="width:700px;">配送费用:</div></td>
                            <td class="infotd2"><span class="font12 redh"><em class="moneySb">{kfc:moneysb}</em><span id="total_shipping">0.00</span></span></td>
                        </tr>
                        <tr><td class="titletd"><div class="font14 pt2 pb2" style="width:700px;">配送保价费:</div></td>
                            <td class="infotd2"><span class="font12 redh"><em class="moneySb">{kfc:moneysb}</em><span id="total_protect">0.00</span></span></td>
                        </tr>
                        <tr><td class="titletd"><div class="font14 pt2 pb2" style="width:700px;">发票税金:</div></td>
                            <td class="infotd2"><span class="font12 redh"><em class="moneySb">{kfc:moneysb}</em><span id="total_tax">0.00</span></span></td>
                        </tr>
                        <tr><td class="titletd"><div class="font14 pt10 pb10" style="width:700px;">订单总金额:</div></td>
                            <td class="infotd2"><strong class="font16 redh"><em class="moneySb">{kfc:moneysb}</em><span id="total_amount">0.00</span></strong></td>
                        </tr>
                        </tbody>
                  </table>
                  </div>
              </div>
              <!--结算信息:end-->
              
              <div class="pt5" id="order_place" style="display:none;">
                  <span class="fr mr10"><input type="button" class="btn btn_placingorder" id="placingorder" name="placingorder" style="cursor:not-allowed;" value="" /></span>
                  <span class="ml10 mr5"><input type="button" class="btn btn_backtocart" id="backtocart" name="backtocart" onclick="window.location.href='?mycart{kfc:filesuffix}';" value="" /></span>
              </div>
              
          </form>
          </div>
          <div class="clear"></div>
  </DIV>
  </Div></Div></Div>
  <!--#mbody:End-->
  <!--底部-->
  <!--#include file="inc/footer.htm"-->
  <!--底部:end-->
</DIV>
</DIV>
<script type="text/javascript">
KnifeCMS.C.Cart.GetCart(2);
KnifeCMS.$id("total_cartamount").innerHTML=KnifeCMS.$id("input_cartamount").value;
KnifeCMS.C.Cart.GetDelivery();
</script>
<script type="text/javascript" src="../js/cart.js"></script>
</body>
<!--#include file="inc/bodyender.htm"-->
</html>